package com.example.sfm.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
@Schema(name = "NameValueVO", description = "名称 - 值视图对象，用于表示一组名称和对应的值")
public class NameValueVO {
    @Schema(description = "名称", example = "优秀学生数量")
    private String name;
    @Schema(description = "对应的值", example = "50")
    private Integer value;
}